package com.xhui.vimarket.common.utils.vo;

import java.util.List;

import lombok.Getter;
import lombok.Setter;

/**
 * 
 * 节点对象Vo.
 * 
 *
 */
public class NodeVo {
    /**
     * 标识.
     */
    private String       id;
    /**
     * 名称.
     */
    private String       name;
    
    /**
     * 是否默认选中
     */
    private boolean      isDefault              = false;
    
    /**
     * 链接.
     */
    private String       href;
    /**
     * 描述.
     */
    private String       desc;
    /**
     * css样式.
     */
    private String       cssOpen;
    /**
     * 是否打开.
     */
    private String       hasOther;
    /**
     * 父标识.
     */
    private String       pid;
    /**
     * 目录类型.
     */
    private String       type;
    /**
     * 节点对象列表.
     */
    private List<NodeVo> nodeList;
    /**
     * value.
     */
    @Setter
    @Getter
    private Object       value;
    /**
     * 目录类型.
     */
    @Setter
    @Getter
    private String       maxValue;
    
    /**
     * 节点对象类型.
     */
    private String       _BUFFALO_OBJECT_CLASS_ = "Node";
    public NodeVo(){
        
    }
    public NodeVo(String id,String name){
        this.id = id;
        this.name = name;
    }
    
    public String getId() {
        return this.id;
    }
    
    public void setId(final String id) {
        this.id = id;
    }
    
    public String getName() {
        return this.name;
    }
    
    public void setName(final String name) {
        this.name = name;
    }
    
    public String getHref() {
        return this.href;
    }
    
    public void setHref(final String href) {
        this.href = href;
    }
    
    public String getDesc() {
        return this.desc;
    }
    
    public void setDesc(final String desc) {
        this.desc = desc;
    }
    
    public String getCssOpen() {
        return this.cssOpen;
    }
    
    public void setCssOpen(final String cssOpen) {
        this.cssOpen = cssOpen;
    }
    
    public String getHasOther() {
        return this.hasOther;
    }
    
    public void setHasOther(final String hasOther) {
        this.hasOther = hasOther;
    }
    
    public List<NodeVo> getNodeList() {
        return this.nodeList;
    }
    
    public void setNodeList(final List<NodeVo> nodeList) {
        this.nodeList = nodeList;
    }
    
    public String get_BUFFALO_OBJECT_CLASS_() {
        return this._BUFFALO_OBJECT_CLASS_;
    }
    
    public void set_BUFFALO_OBJECT_CLASS_(final String _buffalo_object_class_) {
        this._BUFFALO_OBJECT_CLASS_ = _buffalo_object_class_;
    }
    
    public String getPid() {
        return this.pid;
    }
    
    public void setPid(final String pid) {
        this.pid = pid;
    }
    
    public String getType() {
        return type;
    }
    
    public void setType(String type) {
        this.type = type;
    }
    
    public boolean isDefault() {
        return isDefault;
    }
    
    public void setDefault(boolean isDefault) {
        this.isDefault = isDefault;
    }
    
}
